#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTimer>
#include "subcurve.h"
#include <QLabel>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void fun_intUi(SubCurve *Plot);
    void fun_addGraph(SubCurve *Plot,QColor &color);
public slots:
    void slots_TimeOut();
    void slots_CurveOffSet();
    void slots_UpdateTrack();
public:
    QTimer *m_Timer;
    QTimer *m_Timer_addData;
    QVector<QLabel *> m_labList;
private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
